package com.shiyi.design.factory.factorymethod;

import com.shiyi.design.factory.factorymethod.foods.Tomato;
import com.shiyi.design.factory.factorymethod.foods.Vegetables;

/**
 * @author  qiu
 * @date 2021/1/12 23:37
 */
public class TomatoFactory extends AbstractVegetablesFactory {
    @Override
    public Vegetables create() {
        return new Tomato();
    }
}
